package com.example.demon.exception;

import com.example.demon.result.CodeMsg;

public class BaseException extends RuntimeException {
    private CodeMsg codeMsg;

    public BaseException(CodeMsg codeMsg) {
        this.codeMsg = codeMsg;
    }

    public CodeMsg getCodeMsg() {
        return this.codeMsg;
    }
}
